package com.hdoit.ares.logical.brokerage.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2017年12月01日 15:22:05
 * @comment
 */
@Entity
@Table(name="brokerage_share")
public class ShareBrokerage extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //客户id
    @Column(name="customerId")
    private String customerId;

    //佣金id
    @Column(name="brokerageId")
    private String brokerageId;

    //生成时间
    @Column(name="generateDate")
    private Date generateDate;

    //推广奖百分比
    @Column(name="promote")
    private double promote;

    //一级分享奖百分比
    @Column(name="firstShare")
    private double firstShare;

    //二级分享奖百分比
    @Column(name="secondShare")
    private double secondShare;

    //服务奖百分比
    @Column(name="server")
    private double server;

    //孵化奖百分比
    @Column(name="hatch")
    private double hatch;

    //分润序号位
    @Column(name="sort")
    private int sort;

    //分组序号
    @Column(name="groupNum")
    private int groupNum;
    
    //确认状态
    @Column(name="confirmState")
    private String confirmState;

    //确认人id
    @Column(name="modifyUserId")
    private String modifyUserId;

    //确认人
    @Column(name="modifyUserName")
    private String modifyUserName;

    //确认时间
    @Column(name="modifyDate")
    private Date modifyDate;
    
    //佣金
    @Transient
    private Double money;
    
    //税后可分配金额
    @Transient
    private Double shareMoney;
    
    //客户名
    @Transient
    private String customerName;
    
    //客户等级
    @Transient
    private String customerLevel;
    
    //用户编号
    @Transient
    private Integer userIdentity;
    
    //推荐人编号
    @Transient
    private Integer refereeIdentity;
    
    //提成比例
    @Transient
    private Double proportion;
    
    //购买产品
    @Transient
    private String productName;
    
    //犹豫期
    @Transient
    private int hesitateDay;
    
    //保单号
    @Transient
    private String policyNo;
    
    //订单号
    @Transient
    private String orderSn;
    
    //应得金额
    @Transient
    private Double recieveMoney;
    
    
    public String getPolicyNo() {
		return policyNo;
	}
	public void setPolicyNo(String policyNo) {
		this.policyNo = policyNo;
	}
	public String getOrderSn() {
		return orderSn;
	}
	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCutomerName(String customerName) {
		this.customerName = customerName;
	}
	public Integer getUserIdentity() {
		return userIdentity;
	}
	public void setUserIdentity(Integer userIdentity) {
		this.userIdentity = userIdentity;
	}
	public Integer getRefereeIdentity() {
		return refereeIdentity;
	}
	public void setRefereeIdentity(Integer refereeIdentity) {
		this.refereeIdentity = refereeIdentity;
	}
	public Double getProportion() {
		return proportion;
	}
	public void setProportion(Double proportion) {
		this.proportion = proportion;
	}
	public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getCustomerId(){
        return this.customerId;
    }
    public void setCustomerId(String customerId){
         this.customerId=customerId;
    }

    public String getBrokerageId(){
        return this.brokerageId;
    }
    public void setBrokerageId(String brokerageId){
         this.brokerageId=brokerageId;
    }

    public Date getGenerateDate(){
        return this.generateDate;
    }
    public void setGenerateDate(Date generateDate){
         this.generateDate=generateDate;
    }

    public double getPromote(){
        return this.promote;
    }
    public void setPromote(double promote){
         this.promote=promote;
    }

    public double getFirstShare(){
        return this.firstShare;
    }
    public void setFirstShare(double firstShare){
         this.firstShare=firstShare;
    }

    public double getSecondShare(){
        return this.secondShare;
    }
    public void setSecondShare(double secondShare){
         this.secondShare=secondShare;
    }

    public double getServer(){
        return this.server;
    }
    public void setServer(double server){
         this.server=server;
    }

    public double getHatch(){
        return this.hatch;
    }
    public void setHatch(double hatch){
         this.hatch=hatch;
    }

    public int getSort(){
        return this.sort;
    }
    public void setSort(int sort){
         this.sort=sort;
    }

    public String getConfirmState(){
        return this.confirmState;
    }
    public void setConfirmState(String confirmState){
         this.confirmState=confirmState;
    }

    public String getModifyUserId(){
        return this.modifyUserId;
    }
    public void setModifyUserId(String modifyUserId){
         this.modifyUserId=modifyUserId;
    }

    public String getModifyUserName(){
        return this.modifyUserName;
    }
    public void setModifyUserName(String modifyUserName){
         this.modifyUserName=modifyUserName;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }
	public String getCustomerLevel() {
		return customerLevel;
	}
	public void setCustomerLevel(String customerLevel) {
		this.customerLevel = customerLevel;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	public int getGroupNum() {
		return groupNum;
	}
	public void setGroupNum(int groupNum) {
		this.groupNum = groupNum;
	}
	public Double getShareMoney() {
		return shareMoney;
	}
	public void setShareMoney(Double shareMoney) {
		this.shareMoney = shareMoney;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public int getHesitateDay() {
		return hesitateDay;
	}
	public void setHesitateDay(int hesitateDay) {
		this.hesitateDay = hesitateDay;
	}
	public Double getRecieveMoney() {
		return recieveMoney;
	}
	public void setRecieveMoney(Double recieveMoney) {
		this.recieveMoney = recieveMoney;
	}
	
	

    
}
